projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
296cdec
)
Fix the check that the argument count is even, for xenstore_write.
author
emellor@ewan
<emellor@ewan>
Tue, 13 Sep 2005 14:46:20 +0000
(15:46 +0100)
committer
emellor@ewan
<emellor@ewan>
Tue, 13 Sep 2005 14:46:20 +0000
(15:46 +0100)
tools/xenstore/xenstore_client.c
patch
|
blob
|
history
diff --git
a/tools/xenstore/xenstore_client.c
b/tools/xenstore/xenstore_client.c
index 842aca33fe070e7bdbab0b677dcdc5aa755bbd01..28be87859b9c30df3ca4085f4e8c0f51757366b2 100644
(file)
--- a/
tools/xenstore/xenstore_client.c
+++ b/
tools/xenstore/xenstore_client.c
@@
-77,7
+77,7
@@
main(int argc, char **argv)
/* NOTREACHED */
}
#if defined(CLIENT_write)
- if ((argc - optind) % 1) {
+ if ((argc - optind) %
2 ==
1) {
usage(argv[0]);
/* NOTREACHED */
}